package com.shuziren.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shuziren.abnormal.CustomException;
import com.shuziren.pojo.dto.InterviewScheduleDto;
import com.shuziren.pojo.entity.InterviewSchedule;
import com.shuziren.pojo.entity.vo.InterviewScheduleVo;
import com.shuziren.pojo.vo.InterviewScheduleVVo;
import org.springframework.stereotype.Service;

@Service
public interface InterviewScheduleService extends IService<InterviewScheduleVo> {

    InterviewScheduleVo getInterviewScheduleById(Integer id) throws CustomException;

    boolean addInterviewSchedule(InterviewSchedule interviewSchedule) throws CustomException;

    boolean updateInterviewSchedule(InterviewSchedule interviewSchedule) throws CustomException;

    Page<InterviewScheduleVVo> getAllInterviewSchedulePage(InterviewScheduleDto interviewSchedule) throws CustomException;

}

